package com.nzy.common;

public class CacheKey {
    private static final String STOCK_BY_SKUID = "stock:skuId:";

    private static final String STOCK_NUM_BY_SKUID = "stock:num:skuId:";

    public static String getStockBySkuId(String skuId){
        return STOCK_BY_SKUID + skuId;
    }

    public static String getStockNumBySkuId(String skuId){
        return STOCK_NUM_BY_SKUID + skuId;
    }
}
